This structure abstracts a QMUX transport layer. It is responsible for applying QMUX headers to QMI packets from QMI services and forwarding them to the device. It is responsible for receiving QMUX packets from the device. On the basis of QMUX headers, it distributes the SDUs (QMI packets) to the appropriate QMI service. It maintains a list of connected QMI service objects.
- Parameters
-
| useMbim |
- Using MBIM interface as opposed to direct QMUX interface for data layer.
|
| pDataLayer |
- Pointer to instantiated data layer.
|
| deviceFd |
- File descriptor of device.
|
| shutdownFd |
- Event descriptor. Used to signal read thread to terminate.
|
| qmiServiceList |
- List of connected QMI service objects.
|
| writeLock |
- Provides mutual exclusion for write operations.
|
| qmiServiceListLock |
- Provides thread safety for the service list.
|
| readThread |
- Thread responsible for reading from device.
|
| qcqmi |
|